package com.jt.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@TableName("METERAGE_TEMPERAMENT_REPORT_CHILDREN")
public class MeterageTemperamentReportChildren {

    @TableId

    private String id;

    @TableField(value = "pid")

    private String pid;


    @TableField(value = "local")
    private String local;


    @TableField(value = "title")
    private String title;


    @TableField(value = "code")
    private String code;


    @TableField(value = "projectName")
    private String projectName;


    @TableField(value = "projectName")
    private String result;


    @TableField(value = "pipeLine")
    private String pipeLine;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")

    @TableField(value = "timeDate")
    private LocalDate timeDate;

}
